package com.example.core.http

import androidx.annotation.NonNull
import androidx.annotation.Nullable

interface EntityCallback<T> {
//    fun onSuccess(@NonNull  entity:T);
    fun onSuccess(   entity:T);
    fun onFailure(@Nullable message:String);
}